<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .box {
        width: 500px;
        height: 500px;
        /* border: 10px solid #fac; */
        margin: 50px auto;
        background-color: skyblue;
        /* clip-path: inset(20px 0 20% 0); */
        /* clip-path: inset(0 0 96%  0) */
        /* clip-path: circle(200px at 50%); */
        /* clip-path: ellipse(50px 60px at 100px 100px); */
        /* clip-path: path(
          "M 300 350 C 100 150 200 50 300 150 C 500 0 400 300 300 350 "
        ); */
        clip-path: url(#heart)
      }
    </style>
  </head>
  <body>
    <svg>
      <defs>
        <clipPath id="heart">
          <path
            d="M 300 350 C 100 150 200 50 300 150 C 500 0 400 300 300 350 "
          ></path>
        </clipPath>
      </defs>
    </svg>
    <div class="box"></div>
  </body>
</html>

